﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wallpaper.Models.Interfaces;

namespace Wallpaper.Models.Entities
{

    /// <summary>
    /// 封面
    /// </summary>
    public class Carousel: BaseEntity, IHasTimestamps, ISoftDelete
    {

        /// <summary>
        /// 轮播图标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 轮播图URL
        /// </summary>
        public string CarouselUrl { get; set; }


        /// <summary>
        /// 排序序号
        /// </summary>
        public int SortOrder { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnabled { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedAt { get; set; }

        public bool IsDeleted { get; set; }
    }
}
